package com.c611.smartclassroom.common;


//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;
import java.util.List;

/**
 * json数据实体
 * @author yw 2020.2.1
 */
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
public class DataGridView <T>{
    private Integer code = 0;
    private String msg = "";
    private Long count = 0L;
    private List<T> data;

    public DataGridView(Integer code,String msg,Long count,List<T> data){
        super();
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
